﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <link type="text/css" rel="stylesheet" href="@Url.Action("Css")" /> @*@Url.Action("Css")是把控制器CSS方法传回来 *@

</head>
<body>
    <div>
        @using (Html.BeginForm())
        {
            string theme = ViewBag.Theme.ToString();
            @Html.RadioButton("theme", "Default", theme == "Default")<span>默认主题（宋体）</span><br />
            @Html.RadioButton("theme", "Theme1", theme == "Theme1")<span>主题1（黑体）</span><br />
            @Html.RadioButton("theme", "Theme2", theme == "Theme2")<span>主题2（楷体）</span><br /><br/>
            <input type="submit" value="保存"/>
        }
    </div>
</body>
</html>
